package export

import (
	"sync"

	"gitee.com/nggs/protoactor-go/actor"
)

type ServiceID = int

type IService interface {
	Init(id ServiceID, startedWg *sync.WaitGroup, stoppedWg *sync.WaitGroup, args ...interface{}) error
	Run(ctx actor.Context, pprofAddr string, args ...interface{}) error
	Stop() error
}
